package org.springblade.common.utils;

import org.springblade.core.tool.utils.StringPool;

import java.util.Properties;

/**
 * @Description plumelog配置工具
 * @Author ysq
 * @Date 2024/1/30
 */
public class PlumePropsUtil {

	public static String getRedisHost() {
		Properties props = System.getProperties();
		return props.getProperty("plumelog.redis.host", StringPool.EMPTY);
	}

	public static String getRedisAuth() {
		Properties props = System.getProperties();
		return props.getProperty("plumelog.redis.auth", StringPool.EMPTY);
	}

	public static String getOnlineEnv() {
		Properties props = System.getProperties();
		return props.getProperty("plumelog.online.env", StringPool.EMPTY);
	}
}
